
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>留言板-修改</title>

<link href="css/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js"></script>


</head>
<body>
    <div id="top"  >
		<h1>留言板-修改</h1>
</div>
   
   <div id="right" style='position: fixed;
		top:50px;
		right:650px;'>
			<h2>留下你的脚步吧</h2>
			<form action="bbsadd.php" method="post">
				<p class="one">
                                    昵称:<input class="name" name="username" type="text" placeholder="你的名字" value="<?php echo $rs["username"] ?>" />
                                    <input type="radio" name="sex" value="男" checked="checked" 
                                           <?php if ($rs['sex']=='男')
                                           {  echo 'checked="checked"'; }
                                           ?>
                                           />男侠
				<input type="radio" name="sex" value="女" 
                                       <?php if ($rs['sex']=='女')
                                           {     echo 'checked="checked"'; }
                                           ?>
                                       />女侠
				</p>
				<p><textarea name="message" placeholder="这个人很懒,什么都没有写" ><?php echo $rs["message"] ?></textarea></p>
				<p class="tow">
					<input type="radio" name="imgurl" value="images/1.jpg" checked="checked" 
                                           <?php if ($rs['imgurl']=='images/1.jpg')
                                           {     echo 'checked="checked"'; }
                                           ?>
                                               /><img src=" images/1.jpg" alt="" />
					<input type="radio" name="imgurl" value="images/2.jpg" 
                                                <?php if ($rs['imgurl']=='images/2.jpg')
                                           {     echo 'checked="checked"'; }
                                           ?>
                                               /><img src=" images/2.jpg" alt="" />
					<input type="radio" name="imgurl" value="images/3.jpg"
                                                <?php if ($rs['imgurl']=='images/3.jpg')
                                           {     echo 'checked="checked"'; }
                                           ?>
                                               /><img src=" images/3.jpg" alt="" />
					<input type="radio" name="imgurl" value="images/4.jpg" 
                                                <?php if ($rs['imgurl']=='images/4.jpg')
                                           {     echo 'checked="checked"'; }
                                           ?>
                                               /><img src=" images/4.jpg" alt="" />
				</p>
				<p class="thr"><input class="btn" type="submit" value="提交" />
                                    <input class="btn" type="button" value="取消" onclick="history.go(-1);"/></p>
			</form>
			<div class="close" onclick="history.go(-1);"></div>
</div>
   
</div>

</body>
</html>
